<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>
    502 Bad Gateway Error : Forums : PythonAnywhere
</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="Forums : PythonAnywhere">
        <meta name="author" content="PythonAnywhere LLP">
        <meta name="google-site-verification" content="O4UxDrfcHjC44jybs2vajc1GgRkTKCTRgVzeV6I9V14" />

        <!-- Le styles -->
        <link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet">
        <link href="/static/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
        <link href="/static/anywhere/styles/bootstrap_base.css" rel="stylesheet">
        
    
    <link rel="stylesheet" href="/static/anywhere/styles/forums.css" type="text/css" media="screen" charset="utf-8" />

    <link rel="stylesheet" href="/static/pygments/style.css" type="text/css" media="screen" charset="utf-8" />

        <link rel="stylesheet" href="/static/jquery/jquery-ui-1.8.11.custom.css" type="text/css" media="screen" charset="utf-8" />
        
    
    <link rel="alternate" type="application/rss+xml" title="RSS" href="/forums/topic/735/rss" />

        <style type="text/css">
            body {
                height: auto;
            }
        </style>
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
        <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->

        <!-- Le fav and touch icons -->
        <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
        <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
    </head>

     <body>
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div id="id_internal_nav_bar_container" class="container">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="/"><img id="id_logo" src="/static/anywhere/images/logo-234x35.png" height="35" title="PythonAnywhere logo" alt="PythonAnywhere logo" /></a>
                    <div class="nav-collapse">
                        <ul id="id_header_links" class="nav">
                            <li><a id="id_feedback_link" class='feedback_link' href="">Send feedback</a></li>
                            <li><a id="id_forums_link" href="/forums/">Forums</a></li>
                            <li><a href="/wiki/" id="id_help_link">Help</a></li>
                            <li><a href="http://blog.pythonanywhere.com/" id="id_blog_link">Blog</a></li>
                            
                            
                                <li><a style="font-weight: bold;" href="/pricing/" id="id_pricing_link">Pricing & signup</a></li>
                                <li><a href="/login/?next=/forums/topic/735/" id="id_login_link">Log in</a></li>
                            
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="top-container" id="id_dummy"></div>

        

        
    
    <div class="container">
        <div class="row">
            <div class="span8 offset3">
                <h1>PythonAnywhere Forums</h1>
            </div>
        </div>



    <div class="row">
        <div class="span8 offset3">
            <p>
                <a href="/forums/start_topic/" id="id_start_new_topic">Start a new topic</a> |
                <a href="/forums/">Back to all topics</a> |
                <a href="/forums/topic/735/rss">This topic's RSS</a>
            </p>
        </div>
    </div>
    <div class="row">
        <div class="span8 offset3 topic">
            <h2>502 Bad Gateway Error</h2>
        </div>
    </div>

    
        <div class="row">
            <div id="id_post_5265" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5265_content_text" class="span8">
                        <p>I've been getting a 502 Bad Gateway Error for the last 10 minutes or so - is this something I could have caused or is it a server problem?</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5265_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            katimari
                            |
                            23
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5265_created_date">
                            June 29, 2013, 10:16 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5265">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5266" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5266_content_text" class="span8">
                        <p>Looks like a server problem, we have a temporary fix in place and are working on a full one.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5266_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5266_created_date">
                            June 29, 2013, 10:58 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5266">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5267" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5267_content_text" class="span8">
                        <p>Thanks Giles!</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5267_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            katimari
                            |
                            23
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5267_created_date">
                            June 29, 2013, 11:04 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5267">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5268" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5268_content_text" class="span8">
                        <p>Should all be sorted now. We're keeping a close eye on it...</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5268_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5268_created_date">
                            June 30, 2013, 12:31 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5268">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5269" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5269_content_text" class="span8">
                        <p>Looks good to me!</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5269_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            katimari
                            |
                            23
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5269_created_date">
                            June 30, 2013, 2:24 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5269">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5588" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5588_content_text" class="span8">
                        <p>hi im having this same problem right now</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5588_creator_details">
                            
                                
                            
                            alfredoero
                            |
                            1
                            post
                            |
                            
                        </span>
                        <span id="id_post_5588_created_date">
                            July 24, 2013, 3:16 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5588">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5591" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5591_content_text" class="span8">
                        <p>I am also having the same problem again.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5591_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            katimari
                            |
                            23
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5591_created_date">
                            July 24, 2013, 3:56 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5591">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5595" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5595_content_text" class="span8">
                        <p>We had a problem on one of our web servers a moment ago, everything should be fine now.  There seems to be unusual load on the system, not quite DDoS levels but something's up.  Investigating.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5595_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5595_created_date">
                            July 24, 2013, 5:09 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5595">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5598" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5598_content_text" class="span8">
                        <p>Thanks Giles!</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5598_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            katimari
                            |
                            23
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5598_created_date">
                            July 24, 2013, 6 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5598">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5602" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5602_content_text" class="span8">
                        <p>Hi Giles - The bad gateway error is now gone, but I'm getting an Unhandled Exception error now.  When I look at the erorr log it says OSError: [Errno 2] No such file or directory</p>
<p>I just wanted to check if this was something on pa's end as I haven't seen an error like this before.  No need to trouble shoot if it's on my end, but just wanted to post in case it wasn't.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5602_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            katimari
                            |
                            23
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5602_created_date">
                            July 24, 2013, 7:52 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5602">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5603" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5603_content_text" class="span8">
                        <p>Am getting OSError as well !!</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5603_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            ulmastersproject
                            |
                            28
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5603_created_date">
                            July 24, 2013, 8:13 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5603">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5607" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5607_content_text" class="span8">
                        <p>Here as well.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5607_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            giorgostzampanakis
                            |
                            37
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5607_created_date">
                            July 24, 2013, 9:43 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5607">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5610" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5610_content_text" class="span8">
                        <p>Am getting 502 Bad Gateway Error...</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5610_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            ulmastersproject
                            |
                            28
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5610_created_date">
                            July 24, 2013, 10:32 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5610">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5614" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5614_content_text" class="span8">
                        <p>Working for me now</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5614_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            katimari
                            |
                            23
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5614_created_date">
                            July 25, 2013, 1:17 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5614">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5625" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5625_content_text" class="span8">
                        <p>Sorry about that, and for the slow response; we had another glitch last night.  Hansel and I were logged in and fixed it but we missed this forum thread, otherwise we'd have updated you sooner.  We've worked out what the problem was and fixed it.</p>
<p>(Background: it's related to IO.  Basically, one web app on one server went completely crazy and was eating up all of the IO for the whole machine.  It wasn't the fault of the app's developer -- more a weird pathological case where trying to write to a disk when your quota is all used up starts grabbing all of the available IO bandwidth and blocks other processes.  Hopefully our recent Ubuntu upgrade will make it easier for us to isolate stuff so that future incidents like this only affect the person who's hit their disk quota limit.)</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5625_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5625_created_date">
                            July 25, 2013, 11:53 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5625">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5663" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5663_content_text" class="span8">
                        <p>I am also getting a 502 Bad Gateway Error</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5663_creator_details">
                            
                                
                            
                            gimi
                            |
                            3
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5663_created_date">
                            July 27, 2013, 3:38 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5663">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5664" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5664_content_text" class="span8">
                        <p>Hi Gimi, I think in this case you might not be providing a proper wsgi application. Do you want to post the code from your wsgi.py file or the error message in your log? </p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5664_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            hansel
                            |
                            435
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5664_created_date">
                            July 27, 2013, 5:12 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5664">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5680" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5680_content_text" class="span8">
                        <p>Hi today it work again for a while, but it shows again the 502 error.</p>
<p>the code from my wsgi.py is:</p>
<h1>This file contains the WSGI configuration required to serve up your</h1>
<h1>web application at http://gimi.pythonanywhere.com/</h1>
<h1>It works by setting the variable 'application' to a WSGI handler of some</h1>
<h1>description.</h1>
<h1></h1>
<h1>The below has been auto-generated for your Django project</h1>
<p>import os
import sys</p>
<h1>add your project directory to the sys.path</h1>
<p>project_home = u'/home/gimi/Dropbox/gimi'
if project_home not in sys.path:
    sys.path.append(project_home)</p>
<h1>set environment variable to tell django where your settings.py is</h1>
<p>os.environ['DJANGO_SETTINGS_MODULE'] = 'gimi.settings'</p>
<h1>serve django via WSGI</h1>
<p>import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()</p>
<hr />
<p>and the in error.log, the last entry is
2013-07-29 12:05:42,002 :/usr/local/lib/python2.7/dist-packages/matplotlib/nxutils.py:48: MatplotlibDeprecationWarning: nxutils is deprecated.  Use matplotlib.path.Path.contains_points instead.
2013-07-29 12:05:42,003 :  mplDeprecation)</p>
<p>thanks!</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5680_creator_details">
                            
                                
                            
                            gimi
                            |
                            3
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5680_created_date">
                            July 29, 2013, 10:12 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5680">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5686" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5686_content_text" class="span8">
                        <p>Hi gimi, </p>
<p>A simple reload of your webapp was enough to get it working again. When you are making changes to the code base, including moving folders around. You might end up really confusing the web server processes that are running your application. Always try a reload. </p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5686_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            hansel
                            |
                            435
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5686_created_date">
                            July 29, 2013, 12:23 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5686">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5687" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5687_content_text" class="span8">
                        <p>Thanks!
although when I make a change in a file (like views.py for example) I always reload the webapp, to apply the changes. It's after reloading that the error appears 
I'll try to reload again next time!</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5687_creator_details">
                            
                                
                            
                            gimi
                            |
                            3
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5687_created_date">
                            July 29, 2013, 12:56 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5687">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5689" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5689_content_text" class="span8">
                        <p>Having had a look at what you are doing I think the problem is that you are using Dropbox to serve your webapp. Dropbox isn't that reliable for syncing. If you try and reload the webapp while Dropbox is syncing something and the <strong>folder</strong> doesn't exist then you will have weird problems. I would recommend using something like git to sync changes...  </p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5689_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            hansel
                            |
                            435
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5689_created_date">
                            July 29, 2013, 3:20 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5689">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5693" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5693_content_text" class="span8">
                        <p>I'm getting 502 off and on all afternoon.  I figure some problem or other in the system - external to my app - is the cause.</p>
<p>I'm just wondering if you have an estimate for when the system will steady out?  I'm trying to test software today...</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5693_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            rcooke
                            |
                            60
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5693_created_date">
                            July 29, 2013, 7:56 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5693">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5701" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5701_content_text" class="span8">
                        <p>The current system sometimes returns a 502 if you hit your web app immediately after reloading it. It takes a few seconds for the web app to restart after a reload. If you wait a few seconds and refresh the page, it should work. Is this the behaviour you're seeing? </p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5701_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            glenn
                            |
                            418
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5701_created_date">
                            July 30, 2013, 10:03 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5701">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5710" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5710_content_text" class="span8">
                        <p>"seconds"?</p>
<p>Hmmm..  I saw 3 minutes, and I'm not 100% sure we just reloaded or not..  One tester said 10 minutes - unverified.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5710_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            rcooke
                            |
                            60
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5710_created_date">
                            July 30, 2013, 3:27 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5710">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5711" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5711_content_text" class="span8">
                        <p>3 min is definitely not just the reload pause. </p>
<p>Our web hosting is much less stable than we'd like and we're working hard on a fix right now. We're hoping to have it in testing by the end of the week and then deployed as soon as we've ironed out the kinks.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5711_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            glenn
                            |
                            418
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5711_created_date">
                            July 30, 2013, 3:42 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5711">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5748" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5748_content_text" class="span8">
                        <p>I had a similar 502 -- Bad Gateway problem this morning. Waiting a few minutes seemed to do the trick. </p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5748_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            mattspence
                            |
                            5
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5748_created_date">
                            Aug. 2, 2013, 2:55 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5748">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5757" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5757_content_text" class="span8">
                        <p>Do you happen to remember what time of day it was?  We have what we hope will be a big fix for this kind of thing just going through our integration testing system at the moment; if the problem you saw was shortly before midday then it might be a good indication that the problem will be fixed by that change.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5757_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5757_created_date">
                            Aug. 3, 2013, 6:55 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5757">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5780" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5780_content_text" class="span8">
                        <p>Giles -- Yes, I believe the timing lines up. Here's hoping!</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5780_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            mattspence
                            |
                            5
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5780_created_date">
                            Aug. 5, 2013, 7:02 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5780">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5781" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5781_content_text" class="span8">
                        <p>Great, thanks for confirming!</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5781_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5781_created_date">
                            Aug. 5, 2013, 7:37 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5781">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5821" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5821_content_text" class="span8">
                        <p>I am still getting 502 errors.  I have noticed a possible pattern.</p>
<p>As part of my testing I do this to activate any changes:</p>
<ul>
<li>save files</li>
<li>Press RELOAD</li>
<li>Update error log, scroll to the bottom so new errors are more obvious</li>
<li>Switch to open tab in my application, and test.</li>
</ul>
<p>I noticed what looks like a pattern, although I cannot explain it.</p>
<p>That is, after I RELOAD my web ap, the end of my error log has the same three items and a blank line.</p>
<p>I have noticed that when I get the 502 error, those lines are missing.  And if I press RELOAD again, get those lines, the error is gone.</p>
<p>Is it possible that the "reload" task is failing or timing out?  Leaving me in crippled state??</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5821_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            rcooke
                            |
                            60
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5821_created_date">
                            Aug. 8, 2013, 4:51 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5821">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5824" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5824_content_text" class="span8">
                        <p>I think it's more likely that it is a race condition between the files actually being saved to disk and the reload occurring. i.e files are in a half saved state and broken, your webapp starts up with bad code, you hit reload, it reloads again with good code. File server performance is something we are working on right now...</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5824_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            hansel
                            |
                            435
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5824_created_date">
                            Aug. 8, 2013, 5:27 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5824">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5833" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5833_content_text" class="span8">
                        <p>What time delay between "save" and "reload" would you suggest?</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5833_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            rcooke
                            |
                            60
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5833_created_date">
                            Aug. 9, 2013, 2:20 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5833">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5834" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5834_content_text" class="span8">
                        <p>Well, it depends. When I am working on PythonAnywhere I typically use an editor (vim) inside a Bash console. Vim blocks until the file has been saved properly so I know exactly when I can start running my tests. This can sometimes take a couple of seconds when the system is under heavy load. When using the browser based editor I would allow for those two seconds plus take into account the time it takes for an http request to be sent to the server. </p>
<p>It doesn't sound like those sort of time scales are really what you are talking about though. I know some other users were having problems because they were actually serving their site out of their Dropbox folder. Which can take <strong>minutes</strong> to sync. I advised them to start using git to push and pull their change from the local drive to our servers.  </p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5834_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            hansel
                            |
                            435
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5834_created_date">
                            Aug. 9, 2013, 3:38 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5834">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5890" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5890_content_text" class="span8">
                        <p>OK, the problem where there some apps got 502 errors in mid-morning should now be fixed.  </p>
<p>Any other 502s are well worth reporting, though.  It's a generic error page that you get when something's wrong with your site and it can't even start running to a level where it can display its own error page, which can happen if there are problems with your code (completely broken imports, for example) but can also be caused by problems on our side.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5890_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            giles
                            |
                            866
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5890_created_date">
                            Aug. 13, 2013, 5:33 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5890">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5904" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5904_content_text" class="span8">
                        <p>I am getting the 504 Gateway Time-out error. At about the same time yesterday, I got this error. Can you please look into it?</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5904_creator_details">
                            
                                
                            
                            vizpoc
                            |
                            5
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5904_created_date">
                            Aug. 14, 2013, 3:30 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5904">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5905" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5905_content_text" class="span8">
                        <p>Just to clarify, the page was launching fine about 30 mins back. There were no code/db changes after that.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5905_creator_details">
                            
                                
                            
                            vizpoc
                            |
                            5
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5905_created_date">
                            Aug. 14, 2013, 3:32 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5905">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5906" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5906_content_text" class="span8">
                        <p>Its fine now. Thanks. Do we know why this is happening?</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5906_creator_details">
                            
                                
                            
                            vizpoc
                            |
                            5
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5906_created_date">
                            Aug. 14, 2013, 3:42 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5906">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5907" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5907_content_text" class="span8">
                        <p>It was a rogue backup process, it caused some disk I/O issues for about 20-30 minutes. Things are back to normal now.  </p>
<p>For info, we post status updates on twitter: <a href="https://twitter.com/pythonanywhere">https://twitter.com/pythonanywhere</a></p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5907_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            harry
                            |
                            376
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5907_created_date">
                            Aug. 14, 2013, 4:37 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5907">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5934" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5934_content_text" class="span8">
                        <p>Not fixed. I'm getting the 502 Bad Gateway error right now.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5934_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            evilkillerfiggin
                            |
                            48
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5934_created_date">
                            Aug. 16, 2013, 1:16 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5934">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5935" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5935_content_text" class="span8">
                        <p>Weird. It looks like it just needed a reload. I'll try to see if I can work out what was going on.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5935_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            glenn
                            |
                            418
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5935_created_date">
                            Aug. 16, 2013, 1:56 p.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5935">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5938" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5938_content_text" class="span8">
                        <p>New 502 over here now.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5938_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            meningo
                            |
                            5
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5938_created_date">
                            Aug. 17, 2013, 9:25 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5938">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5939" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5939_content_text" class="span8">
                        <p>Hi meningo, did you try a reload? I just logged onto the server your app was running on and manually reloaded it for you and it's working now. </p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5939_creator_details">
                            
                                <img src="/static/anywhere/images/staff.png" alt="Staff" title="Staff"/>
                            
                            hansel
                            |
                            435
                            posts
                            |
                            
                                PythonAnywhere staff
                                |
                            
                        </span>
                        <span id="id_post_5939_created_date">
                            Aug. 17, 2013, 10:46 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5939">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    
        <div class="row">
            <div id="id_post_5941" class="span8 offset3 post">
                <div class="row">
                    <div id="id_post_5941_content_text" class="span8">
                        <p>Tried! However, Now it works again :) thanks</p>
                    </div>
                </div>
                <div class="row">
                    <div class="span7 post_metadata">
                        <span id="id_post_5941_creator_details">
                            
                                
                                    <img src="/static/anywhere/images/star.gif" alt="Beloved premium user" title="Beloved premium user"/>
                                
                            
                            meningo
                            |
                            5
                            posts
                            |
                            
                        </span>
                        <span id="id_post_5941_created_date">
                            Aug. 17, 2013, 10:52 a.m.
                        </span>
                        |
                        <a href="https://www.pythonanywhere.com/forums/topic/735/#id_post_5941">permalink</a>
                    </div>
                    <div class="span1">
                        
                    </div>
                </div>
            </div>
        </div>
    

    




        <div id="id_footer" class="container">

            <footer id="id_copyright_div">
                <p>
                    Copyright &copy; 2013 PythonAnywhere LLP
                    &mdash;
                    <a href="/terms/">Terms</a>
                    &mdash;
                    <a href="/privacy/">Privacy</a><br/>
                    "Python" is a registered trademark of the Python Software Foundation.
                </p>
            </footer>

        </div>

        
        

        <div id="id_feedback_dialog" title="Help us improve" style="display:none">
    <div id="id_feedback_dialog_blurb_big" class="dialog_blurb_big">
        It's always a pleasure to hear from you!
    </div>
    <div id="id_feedback_dialog_blurb_small">
        Ask us a question, or tell us what you love or hate about PythonAnywhere.<br/>
        We'll get back to you over email ASAP.
    </div>
    <textarea id="id_feedback_dialog_text" rows="6"></textarea>
    <input id="id_feedback_dialog_email_address" type="text" class="default_prompt"/>
    <div id="id_feedback_dialog_error" class="pa_hidden">
        Sorry, there was an error connecting to the server. <br/>Please try again in a few moments...
    </div>
    <div class="dialog_buttons">
        <img id="id_feedback_dialog_spinner" src="/static/anywhere/images/spinner-small.gif" />
        <button class="btn btn-primary" id="id_feedback_dialog_ok_button">OK</button>
        <button class="btn" id="id_feedback_dialog_cancel_button">Cancel</button>
    </div>
</div>


        <!-- Le javascript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
        <script type="text/javascript" src="/static/jquery/jquery-1.7.1.min.js"></script>
        <script type="text/javascript" src="/static/jquery/jquery-ui-1.8.11.custom.min.js"></script>
        <script src="/static/bootstrap/js/bootstrap-transition.js"></script>
        <script src="/static/bootstrap/js/bootstrap-alert.js"></script>
        <script src="/static/bootstrap/js/bootstrap-modal.js"></script>
        <script src="/static/bootstrap/js/bootstrap-dropdown.js"></script>
        <script src="/static/bootstrap/js/bootstrap-scrollspy.js"></script>
        <script src="/static/bootstrap/js/bootstrap-tab.js"></script>
        <script src="/static/bootstrap/js/bootstrap-tooltip.js"></script>
        <script src="/static/bootstrap/js/bootstrap-popover.js"></script>
        <script src="/static/bootstrap/js/bootstrap-button.js"></script>
        <script src="/static/bootstrap/js/bootstrap-collapse.js"></script>
        <script src="/static/bootstrap/js/bootstrap-carousel.js"></script>
        <script src="/static/bootstrap/js/bootstrap-typeahead.js"></script>

        <script type="text/javascript">
            var urls = {};
            var Anywhere = {};
            Anywhere.urls = {};
        </script>
        <script type="text/javascript" src="/static/anywhere/scripts/ajax_utils.js"></script>

        <script type="text/javascript" src="/static/anywhere/scripts/feedback_dialog.js"></script>
        
        <script type="text/javascript">
            $(function() {
                $.extend(
                    urls,
                    {
                        feedback: '/feedback/submit/'
                    }
                );
                
                    Anywhere.FeedbackDialog.Initialise(urls, true);
                
            });
        </script>

        <script type="text/javascript">

            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-18014859-6']);
            _gaq.push(['_trackPageview']);

            (function() {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();

        </script>

        



    </body>
</html>
